Added placeholders and renamed deleteType to removeType