Added messages macro and example