* Fixed issue with strongly typed enums not being convertible to int. Placed the enum inside a struct to solve scope issue instead.