Update API docs according to #4