Now supports ofType assertions.