Fix resource groups size in C-interface and Enumeration added