Some fixes, and fleshing out of posts model.