This adds a useful method to the DaemonRunner class, allowing users to add their own functions if they'd like. Here is an example of how it would be used.