Removing unnecessary key declaration