Cleaned some code in EWSViewController.