Removed almost all warnings on origin2000.