Remove exceptions in IO serializable classes.