Fixed creating pagination adapter without `new`