Edit class Closes #2654.