Made colon before last argument optional depending on message type.