Sets default attributes for new posts.