Add deftrap mechanism from STD.

Catches say; and similar mistakes.