Merge docs into doc/reference.md