Requires should go outside of class scopes. They don't always follow the scoping rules like you think (sometimes `require` works like `load`, sometimes it doesn't). Safest and most idiomatic place is either at the top of the file, or occasionally (to resolve potentially circular dependencies) at the bottom. Though the latter is typically not necessary, since `require` caches/memoizes