Modified these functions to change the null data in the classification rather than keep these values directly in the Layer class. Menu options to change these values work again.