Initialize complex types only once

Change-Id: Ie89a0fbc4d25a5f14493bc631853e823c2c48ac7
Signed-off-by: Iliyan Velichkov <iliyan.velichkov@sap.com>