Made the constructor callback optional