Use the non-deprecated callback