The object should be required to be a reference and the variable either a reference or string, so that evaluation order is unambiguous.