You did not use the $reader argument, so the change does not affect your code, you may test if your old code still works with the latest template. If it does not work, you may follow https://discourse.hkvstore.com/t/failed-to-import/6562/1 and learn how to debug.