Hooks

It depends on the language; in Python, if the key might be missing, you need to say dict.get('foo', some_default) rather than dict['foo'] .. not sure how Perl or JS react.

In Ruby, that's not an issue since dict['foo'] is nil if there is no 'foo' key.

It's fine to leave this as-is for now.