Edit template, added MergeBlock() for op_detail array.