Render elements in correct order, allow & to be used in templates