Replaced abstract methods with NotImplementedError.