This will break things that are using the router documentation to generate API documentation (that is, Swagger).  Unless there is a good reason to put the value of encode in here, I don't think it should be there.