Support for Java 8 lambdas

Implementation for #101