Added the ability to set a key on runtime