Call wrapObjectTemplate with the correct arguments.