Added a 'once' service, which fires a function only once.