setting / getting of native types in context