Add a convenience method
Merge pull request #4 from jml/convenience

Add a convenience method