Changed names of attributs into length_ and capacity_