Fixed the enum issue. I am a confirmed moron.