Neatened __add__ and __sub__ to reduce duplication.