Contexts can be deleted on the fly, Layouts must be deleted at the end.