Cache the loaded yaml classes similarly to yaml snippets
Prepare for introducing args in snippets