Bug fix: can't instantiate class in queue call.