Added header declaration for callbacks