public void subscribeEvent(String eventName, String function, Object className) {
		HashMap<Object, String> eventCallbacks = this.eventMap.get(eventName);
		if(eventCallbacks == null) {
			eventCallbacks = new HashMap<Object, String>();
			this.eventMap.put(eventName, eventCallbacks);
		}

		if(!(eventCallbacks.containsKey(className) && eventCallbacks.get(className).equals(function))) { 
			eventCallbacks.put(className, function);
		}
	}