modules should be instances of Module, not Class