Remove unused arguments passed to format