remove unused code for schema parsing