Check callbacks before calling them.