Fix broken size implementation (resolves #14)