FIX: compiler unreachable code warnings.