Clean up while writing lessons.