Ignore AnySchema interface in code-coverage
Refactor GenericSchema::getType()
Refactor GenericSchema::setType()