target is one of the known types. Arguments: target: string, name of target. target_dict: dict, target spec. Raises an exception on error. )