Use Dynamic instead of Object for untyped funcs/vars

This tells the compiler to use the dynamic runtime for evaluating
expressions