Extends previous implementation with * for function calls to * and ** for both function and method calls.