Merge "Manually manage memory of native objects" into tm-qpr-dev