Added utility to manage callbacks