Add support for nested keys.