diff --git a/umbraco/businesslogic/Utils/TypeFinder.cs b/umbraco/businesslogic/Utils/TypeFinder.cs
index 360af76580..73a6dc808f 100644
--- a/umbraco/businesslogic/Utils/TypeFinder.cs
+++ b/umbraco/businesslogic/Utils/TypeFinder.cs
@@ -21,7 +21,7 @@ namespace umbraco.BusinessLogic.Utils
/// Searches all loaded assemblies for classes marked with the attribute passed in.
///
/// A list of found types
- public static List FindClassesMarkedWithAttribute(Type attribute)
+ public static IEnumerable FindClassesMarkedWithAttribute(Type attribute)
{
List types = new List();
bool searchGAC = false;
@@ -42,7 +42,7 @@ namespace umbraco.BusinessLogic.Utils
types.AddRange(FindClassesMarkedWithAttribute(Assembly.Load("App_Code"), attribute));
}
- return types;
+ return types.Distinct();
}
static IEnumerable FindClassesMarkedWithAttribute(Assembly assembly, Type attribute)
diff --git a/umbraco/presentation/web.config b/umbraco/presentation/web.config
index ed274b95b8..843f6c3dec 100644
--- a/umbraco/presentation/web.config
+++ b/umbraco/presentation/web.config
@@ -40,7 +40,7 @@
-
+