Split decoder registration, mime and file types in two.