- added return $this to type()
Merge pull request #1 from dpjanes/master

- added return $this to type() -- looks good.