change TeraGen#addKey, more simple.