Bumping version to 1.40 beta