I don't think it make sense to pass the type and index as argument as the only place where they can come from is the formatter itself