Mime-types detection.