Add requireEnvironmentType option