document preRun as expecting an array of functions; fixes #2729