Large switch breakup into smaller methods.