util: store chainable behavior in a __methods object on ctx