Modify interfaces to adapt java8 b89