Added early mimetype support