which hasn't yet been in a public release so changing the API is fine!
to also return the type of the key.