Namespace fixes for catching exceptions.