Changed enum to static.