Support for object instead of name