Create some type lowering code