Refactor of PG jump & jumpAsync and make code a lot more readable