Move to PHP 5.3, allow callbacks