It's a refactoring, it doesn't really fix anything(?), but it makes
working with caches in the style of a Nextcloud server repository.
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
**Fixed getRegisteredFileActions/getExAppMenuEntries returning wrong
result on first call**
_Issue was found during implementing SpeechToText Provider API, as this
internal APIs has the same struct._