Wildcard curried methods in function2 and function3