Added namespacing for several 'require' statements where it was missing.