Reduce dependency on `getObject`.