Initialize complex types only once

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