Create virtual attributes.