Remove closure as it produces Fatal in PHP 5.2
Bump version to 0.3.1