Add read and write exceptions.