Added profile support for loading Ninject modules.