Update docs, fix deprecation warnings.