updated Payload.define to bind the constructor directly, thx @tOkeshu