Move helper functions up to podd-api so they can be reused for import
ordering