Needs `hasOwnProperty` guard to make JSHint happy