Introduced type `BackwardFunction` and refactored
Renamed a file in examples/simple
Minor jshint fixes to examples