Fixed warnings and added missing module.