Revert "Re-assert deprecation warning happens"

This reverts commit 40e10f397436af1ae127f008fa573dd8dde6cc95.