Fix raise of NotImplementedError.

I'd written NotImplemented, which is different thing (a value to be
returned from unimplemented comparisons, not an exception at all).