Remove and consolidate various uses of reflection.

Elegant. I forgot this was possible.