Added io macros