Destination class refactored for easier unit testing.