Update and add invoke() method to Reflection