Version bump to 0.1.40