Export top-level functions.