Fix #307: Method default args can refer to class attributes