Remove some unused parameters warnings