Added handlerbase abstraction