Support for java8