Removing all plates generation code