Addition of constructor on allocator.