Clean up multiline arg factory

still doesn't work. I think it needs tests!