Do not fetch the functions using a CSS selector
We don't need name attributes anymore
Fix path drawing