Fix incorrect namespace in defined types.