Fixed missing $this-> (Silly me!)