Change native types to objects