Reduced dependencies to PHP 5.3