DRY. Remove duplication.