Direct attributes from array

original idea #128 

I also think this sytax is very useful and there were many times when I want to do like this.