Implemented __check__ in base Model class, now there's no need to check
for it
Added the replacer functionality, which allows including functions from
other functions.