Generated code should not be commited.

Also, update lib/sword.