Made the key create key more efficient.