more cleanup to the schema registry interface