See the tests in the t/ directory for examples until I add some more.