Updated methods for getting header text