Refactoring reflection.