getContentType should be a function. Duh.