If the configuration is any of these types, just return it? I don't understand what this is doing yet.