Some improvements in MethodInvocation class, new method was added, interface was extended