Bump version to 0.40