Minor fix, $parser was passed instead of $this like it should have been.