At the moment it accesses environment (AFAIR). But yes, it could easily be static by passing that in.