You mean to make a class method for processing messages?