generalized function callback references.