Add templates for proxy classes