Added predeclarations for used callbacks