IE9- compatibility (`Object.keys` -> `empty`).