added @staticmethod decorators to static message functions