Make compatible with Java 6 to keep drone.io happy