Added helper method to build title.