Prepare for release v0.4.0