Made callbacks optional