Changing schemaEndElement to public scope