Check underlying object on every call to prevent segfaults