Fix missing self keyword