Return values working.
Initial dynamic function work.
Variant fixes.
Repeated function calls working.