Make allocate and dealloc work correctly