Added reference to 'pagesMain'.