Add ability to query pages