Use optimized write and read calls if memoryAddress is present. Part of [#2239]