Added a hook to specify extra mime types