Add statements to raise exceptions when calling unimplemented abstract methods