Added keyrings function.