Modify Messager functions to static.