Encode object access fix.