Changed how enum sizes are declared, fixed documentation warnings