why target specified? When plugins get initialised by the viewer they will get the target (viewer) then.