Rearrange generation of init block to have custom init code within the initializer body.