Fix methid declaration