Release 0.4.0
Fixes for 0.4.0 notes.