Add missing return type to function
Remove external ref count visibilty from obs_data_* as well
Add wrappers for obs_data_t and obs_data_array_t