Refactor unite config.