Added message exists method.