More branching optimizations...