Adding back end changes (and unit test) to retrieve user friendly messages.