Remove unused type variable and allow refs.
Merge pull request #17 from joneshf/master

Remove unused type variable and allow refs.