Remove unused def