Added construtors that takes the parent allocator