Add external attributes in model