Clean up some repetitive lines.