Added some Java 8 magic to java type converters.