Remove use of OwningPtr, it's deprecated