Revamped simple-handler lib in ES6.