Refactor the Amazon Process class.

.