Added dependency for loadPages