improved error messages
consistent indentation
Order of :comsumes/:produces matters