Added module() as a union type of callback(), which is permitted according to sockjs_session:emit/2.