Patch to make function calls actually work.