Removed purifying to ensure PHP 5.3 compliance