Change 'Object' to 'any'.