Fix avoidable supressed unchecked exceptions.