Added alloc cb.