Add title attribute to model