MDL-42339 - removed double formatting for set_title() and set_heading()