Bugfix: Added the ability for key creation function to check if ['value'] exists.