For use in dojo