Used Underscore's key function instead of Object's key function.