Use size_t where appropriate.