Added shared struct to allow the same option names for different functions