Added support for extracting page text