Fixed an incorrect reflection invocation.