Cleaner API for keys