Reorganizing the exceptions.
Changing some ValueErrors to NotImplementedErrors.