Added action to key generation.