Adding readProp and readPrimType