Schematic getters

Some convenience functions to round out the API -- amazed we didn't need these earlier. If the build is successful I'll merge (they're more or less copied and pasted).