Remove unnecessary arguments from methods