Do not deprecate getReadWriteLock, just add to the docs that it is not
used.