Add helper methods and classes.