Fix ununsed parameters warnings