Added divrem functions.