These should be defined at the module level so they can be imported and used elsewhere (e.g. in the tests).