More steps towards writecache - not yet working.