Add vars from functions to symbols