Fixes the getSchema() method.