Added softreference and queue mechanisms