Initialize callback struct.