Macro Madness

Helper functions/types/macros for shared reference patterns