Removed unnecesary tuple concatenation to append closing tags.