Document and prepare for 0.4.0