Add more docs and some missing APIs