Make it PHP 5.2 compatible again