Cleaning old code from the plug-in "Pencil"