Add transformer for generating model