Remove unneeded check for UnsupportedOperationException following CDK-218.