Added ANNOUNCE and general error response handling.