Correct object reference

Fixes #196