Adds autoresolve parameter and implementation.