Removes duplication of color, style tables