deprecating some of the defaultContainer's methods
changing deprecate to deprecateFunc
reverting previous change back
Merge pull request #2594 from twokul/master

restore defaultContainer for now, but deprecate it