Added the ability of create attributes of different types