Refactor compatibility classes to raise errors instead of return None on
incompatible calculations