Address setting and helping code.