addReference() actually throws exception, does not override existing reference
Merge pull request #114 from jtreminio/master

addReference() actually throws exception