Added key and object to object.forEach().