sizeof() cleanup. the occasional void * didn't make this easier.