Add support for directly nested groups. Closes #20