Prepare 0.4.0 release
Prepare 0.5.0 release