Replaced assertions with NotImplementedError