Added a c2obj convenience method.