Support PHP 5.4