Add url, useAs, optionnal for directive declared in the XML modules.