Begin tidyup/documentation of Key class.