Fix incorrect callback method signatures.