         return pathComponent.lowercased() == "tests"
     }
 
-    /// Private function that creates and returns a list of non-test Modules defined by a package.
-    private func constructModules() throws -> [Target] {
+    /// Private function that creates and returns a list of targets defined by a package.
+    private func constructTargets() throws -> [Target] {
 
         // Check for a modulemap file, which indicates a system target.
         let moduleMapPath = packagePath.appending(component: "module.modulemap")

        }
    }

    /// Private function that constructs a single Module object for the potential target.
    private func createModule(
        potentialModule: PotentialModule,
        moduleDependencies: [Target],
        productDeps: [(name: String, package: String?)]


    /// Build a new package following the conventions.
    public func construct() throws -> Package {
        let targets = try constructTargets()
        let products = try constructProducts(targets)
        return Package(
            manifest: manifest,
