Added SequenceGenerator, changed some keys in tables