Update docs according to recent API changes