Divmod operation moved to instance of class Integral. Simplified other instances