Add decorator and function or adding models that have tables injected.