Support callback interfaces with constants.