Fixing more PHP 5.3 errors.