Rename stateHandler() to inboundHandler() and operationHandler() to outboundHandler()