Fixed the getPages operations. Added filter and options filtering.