Add support for handling group and subgroups.
Add localized messages for Mongoid errors.