Access SchemaRegistry

Fixing issue #3.