This is some stuff I used in a recent blog post about untyped lambda-calculi being actually typed.