set $$targs$$ for functions with metamodel but no targs
add missing annotations
getrtmm$$ to simplify code a bit
getrtmm$$ to simplify code
some additional validations now that we don't wrap all callables