Classes and enums for structure