add anonymous methods and lambda expressions