[BUGFIX] Fix static access to enumeration constants