use partition maps instead of schematode defs
Add fns that allow use of schematode when appropriate