Add helper method to the adapter