Partial writeup of api ref.