Revert: Fix warning about type error (wasn't actually a fix)