Don't use reflection when it is not necessary.