Use a bit of java 8.