Changed version to 4.0-SNAPSHOT in preparation for the 4.0 releases.