add a convenience function for retriving keys (for use in plugins)