Index: binary-improvements/MapRendering/Web/API/Null.cs
===================================================================
--- binary-improvements/MapRendering/Web/API/Null.cs	(revision 360)
+++ binary-improvements/MapRendering/Web/API/Null.cs	(revision 367)
@@ -4,4 +4,7 @@
 namespace AllocsFixes.NetConnections.Servers.Web.API {
 	public class Null : WebAPI {
+		public Null (string _name) : base(_name) {
+		}
+		
 		public override void HandleRequest (HttpListenerRequest _req, HttpListenerResponse _resp, WebConnection _user,
 			int _permissionLevel) {
Index: binary-improvements/MapRendering/Web/API/WebAPI.cs
===================================================================
--- binary-improvements/MapRendering/Web/API/WebAPI.cs	(revision 360)
+++ binary-improvements/MapRendering/Web/API/WebAPI.cs	(revision 367)
@@ -2,5 +2,4 @@
 using System.Text;
 using AllocsFixes.JSON;
-using UnityEngine.Profiling;
 
 namespace AllocsFixes.NetConnections.Servers.Web.API {
@@ -8,11 +7,11 @@
 		public readonly string Name;
 
-		protected WebAPI () {
-			Name = GetType ().Name;
+		protected WebAPI (string _name = null) {
+			Name = _name ?? GetType ().Name;
 		}
 
 #if ENABLE_PROFILER
-		private static readonly CustomSampler jsonSerializeSampler = CustomSampler.Create ("JSON_Serialize");
-		private static readonly CustomSampler netWriteSampler = CustomSampler.Create ("JSON_Write");
+		private static readonly UnityEngine.Profiling.CustomSampler jsonSerializeSampler = UnityEngine.Profiling.CustomSampler.Create ("JSON_Serialize");
+		private static readonly UnityEngine.Profiling.CustomSampler netWriteSampler = UnityEngine.Profiling.CustomSampler.Create ("JSON_Write");
 #endif
 
