Changes made to get ninject to work.