Add java docs for composite keys.