Handle object without stack property

Closes #2