Favor container classes over dependency or local resources