Add generalize setter of arch and dist