Leverage against func module in MoSQL 0.8
Replace some _as usage with new style pairing