Temporarily make Experiment compatible with Java 7