Added method addCallback()