Flatten immediatly with callbacks