Moving more common code into Helpers file.