Progesterone production in the ovary is primarily by: