New object reference deprecated fix
Merge pull request #8 from bfintal/new_reference_deprecated

New object reference deprecated fix