How to register admin pages and assign specific callbacks.