Prepare for release 0.4b40.