Implement page directory get/set.