Add unions code