Refactored helpers into extensions. Suppressed StyleCop SA1200, SA1600.