Removing manual mime type checks in favor for new method