Simplify setup logic.