Added the ability to have multiple media-detection extensions.