Handles collisions for functions with the same name