Lifted everything out of `main`'s where clause.