MAINT: release 0.4.0.
MAINT: start 0.5.0 branch.