Fix docs build errors