Updated reflection with pattern lambdas