Use correct init_code for block mode vs normal. Annotate constants.