public static bool RemoveByType <T>(this IDecoration decoration) { return(decoration.Remove(typeof(T))); }