Using `==` is better than `:` in order to test returned types exactly.