Helper for Dojo 1.5 -> 1.9 migration