Changed exception to NotImplementedError