`func_wrap` was merged into `expr` and `Func`.
`RDBVal` needs to inherit `TermBase`.
`Function` is redundant with the other checks.
Don't try calling parent class methods.