Remove unused params and args