Implement CallbackContainer for callback interfaces.