Fix for PHP warnings.