Implement a handler pattern for extensions