Fixed handling of the schemaKey attribute.