Revert "Fix hundreds of warnings"

This reverts commit 1db8e4676941210b5bf7c68e01f70e1b85cd2a41.