Added in JDK 1-7 deprecations.