Add flush and straight functions.