Would be nice to have access to the server instance within the middleware functions as extra parameter. Same like in the onCreateServer function. Is this possible?