Make convert from python to Ptr<Value<T>> work