Address errors when PHP is in strict mode.