Mark interfaces as @FunctionalInterface as necessary.