Cleanups.
Make sure sha512 is supported.