Fixed some issues with 'sizeof' functionality.