Fixed case when there are multiple cfunctions with same name and checking types of in-table variables