Remove usage of function keyword when it's the only argument of a function, to make docs look nicer

There as a bunch of _arg1