Use new features from Java 8.