Add new key generation mechanism.