Version bump to 6.0.40