public static boolean registerObject(ChunkyObject object) {
        HashMap<String, ChunkyObject> ids = OBJECTS.get(object.getType());
        if (ids == null) {
            ids = new HashMap<String, ChunkyObject>();
            OBJECTS.put(object.getType(), ids);
        }
        if (ids.containsKey(object.getId())) return false;
        ids.put(object.getId(), object);
        return true;
    }