Edited macros so that they all allow stringstream like parameter