Initialize extraData by default if not set.