Add function to reify a java 8 function.