Only hoist parameters if they are used more than once