Fix bug in generated Force
Use generated unit enums instead of hard coded ones