Allow custom cleanup rules on paste content.