Update to 0.3.1
 - Fix PHP 5.4 compat