Use provider instead of definition