Updated to include property for numberOfPages