Adds complex type.