Change resource:complete to resource:complete:<type>.