KwArgs refactored to allow mixing of parameters and groups in checking. Clang compilation errors fixed. WIP