Cannot create new object if template contains user-defined metadata