Begin to fix problem with key and signature generation.