Added flag restriction to content type