Renamed "writeOnly" to "invisible" and added test.