Add paging callback.
Add WMC function. Restrict extent (needs improvements).