Added a catch clause for UnsupportedOperationException to the static initializer to fix an issue when running under Java 1.5.