add constructor callback documentation