Removing unused functions arguments