Java 7 compatibility (meh.)