Add generated_type and construct to pullpipe_begin