1. Add `handleMethodFailure` property to enable/disable method failure handling. 2. Add `optionsHandler` and `notAllowedHandler` properties to generate appropriate responses. https://github.com/olegbaturin/yii3-router/blob/c954cadfe0d8a48619e6a78378dc73ce663b0194/src/Middleware/Router.php#L20