Added a slug member for NewPost.