Fix shift within function declaration.