Added saving UserGroup into DB (without _class).