Add err assertions.