templates.open is cleaned up a bit, enables prepending to the object