Added pickObjectValue procedure.