Introducing attributes factory