Remove deprecated class and upgrade lib versions to use Spring 4.
Update version to 3.1.0.Final.