Improved support for immediate instance creation of complext structures
for a new instance.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>