Update to prime 0.3.4, bump version to 0.3.1.