Remove useless exception checks