Added tranny and generator code.