The commands \(Get|Show)Document(Command|Environment)ArgSpec and \ArgumentSpecification will be removed from the kernel in the next release, available only if xparse is explicitly loaded. Details in this commit. The commands \GetDocumentArgSpec and \ArgumentSpecification are used in the definition of \advice@CollectArgumentsRaw so I suppose a change should be made before the next LaTeX release.