Cut down unnecessary functions and use new algebraic constructs e.g. `Ring`.
Cut down unnecessary functions and use new algebraic constructs e.g.
Ring.