Implement allocating objects and listing roots