Added missing item duration support to template