Fix call to worker_remove_from_array, and allow class to be included without running the mdbroker