Adds local function call support