added methods that support specifying page size when fetching entities