adds a handler interface