Starting to implement draw interface in auto-gen.