Added the content type validation needed for paperclip4