The `static_cast` is unnecessary.