Add a convenience function

Tiny step towards moving away from the class-heavy design I started with
when I first encountered python