Storing a handle for commandcomposite to enable injection