Fix for Dojo 1.8 (calling has for some features throws exception if
called too soon).