Move duplication detection into its own filter. Improve Rake support.