clearAll shouldn't be used here, as it may destroy other Class contexts as well.