Fix SchemaPath.legacyPath visibility