Prepare 0.0.40 release