support for PHP 5.2 (due lack of late static binding)