Ensure state is initialized to zeros.