Modify type to size property
Add shift and unshift method