Enhancing the promisifying by making it accept options to define custom methods