Initialize complex types only once

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