Add helper method for formatting page titles