Add keys method to MessageBag.