remove getSchemaGrammar and just inherit from parent class