Stop the recursion to only add parameters once