Fix references to schema attribute.