Moving mime to dependencies