One of my favorite useful patterns