Updated comments and added another setDatePublished method.