Added more internal_sizeof_ methods to internal API.
Fixed possible wrong size computation issue.
Updated SWCs.