PHP-1297: Fixed unintialised read with deprecated properties.