Replace some code with VSHelper's