Added ResponseMessage and associated logic.