Bugfix: key was undefined.