Macros

Added support for macros, which are the basis for exposing kairos' custom read functionality.