Cleaned up message handler configuration in Server.