Fixes #153: Made creation of grouping for category optional