Changes for non-capturing macros and to_str changes

Closes #9