Fixes for PHP 5.3 (no dereferencing there).