Remove onPageSchemasRegistration and addToAdminLinks hook handling code