Added read/write access checks