Dryed up some code.