Implemented some compatibility features and fixing bugs in SchemaManager