Change input middleware and handler spec name field.