Avoid infinite object stack