some cleanups after removing transfer from pg-extras