Fixed size support
Merge pull request #1 from Halaur/master

Fix size attribute support