Create separate file for canonicalization of project factory objects and introduce duplicate-diff lint checker.