Miscellaeous cleanups.
Update API documentation.
NEWS update for 3.11.1 release.
Post-release version bump.