Description: Move class substitution in and out of an operation. (Contributed by Alexander van der Vekens, 26-May-2017)