Change the implementation of SNE.