Suppress some of the warnings caused by not using fragments

Updating to fragments is worth considering though.