Clarify refs and setState callback documentation