Fix destructuring pattern and default arguments in arrow functions