Bugs fixed. Added easy support for common groups.