Add support for cout chains, fix endl