Added messages method to config