remove unused scala enums in favor of java enums