Add helper methods to format views