Add functions for use in Controllers