Change NotImplemented to NotImplementedError.