Add Mime type functionality.