Cleanup reflection helpers.

Remove duplication among the ways to reflectively call methods.