Setting attributes without helper