Using vars_post is the preferred way to do this. Se #1616 with feedback about this topic :)