Using Object.keys() instead.