Implementing message functions in our context