Set content type when it is not explicitly set