Converted CallbackContainer into a custom object.