Don't inherit from CallbackRegistry
Add resize event handler