Changed createKeys methods to add all keys at once instead of one at a time.