The reference to `userData` here should be removed.