Add to view before setting attributes to ensure Teacup works