Added invoke(Object, Class[], Object...) method

Added a new invoke method that ensures the proper method invocation in the accessed instance, in case of overloadings.