Fixed a typo.
Added a slug member for NewPost.