Moved message handler configuration into private methods on
ModuleServer.