Added identity reader and writer