Template Haskell helpers for air