Allow dynamic objects to be passed as parameters

Allow dynamic objects to be passed as parameters using a
DynamicDomainObject