If `container` is a required field, we may need throwing some error here.