Prepare release; bump version 0.3.1