Add support for 'obj' variable types in units