Tidied legacy code by removing unnecessary casts to "int" on the presets and removing unwanted enums.