Added copy and destroy on template. local reps for offline use