Updated mime detect class.