A bunch of geometry! Revamped generator code.