Remove unused parameter from private methods.