Add SetupSequence. Add code comments and fix StyleCop issues.