Documentation here on taking on object or key and value would be useful.