Hotfix: Fixes call stack overflowing when calling user defined functions.