Fix use of deprecated function.
Update version number for the 1.1 release.