Hook pages and posts up correctly.