Removed all warnings caused by unused params.