merge TopLevelFunctions into TopLevelImportHeader
add more top-level functions for Snappy example