[functions] remove more deprecated classes
[functions] adds lambda expression wrapper for our function interface