Continued overhaul of coref API, including documentation