Remove unnecessary imports.
Remove unused preference keys.
Remove decrypt/encrypt tests of API that we removed.