port 0.1 fixes; is_map mixin; more tests & cleanups

Long term, we might not even want to generate these files.