Refactor Blogpost validation into the model