Set content type correctly.