Functions

These functions can be called directly from an extension. They aren't tied to any structure.