Move some enums outside of header file for backend