Revert "Removed warnings"

This reverts commit 7384f2eb5d43f5a642060759244f516261bef5ea.