Thanks for your reply!
Unfortunately I have also tried the one with tree view, and it still appears to be calling the unneeded functions. Do you think that it is still a profiler issue?
Below is the image of the graph.

output6453×3835 986 KB