Add instances rewrite