Bumped version to 0.40.0.0