Fixed globals not being imported on getPage/getParts