adds functions to the interface.