Removing redundant templates directory.