Improved account handling.
Updated library.