added a bunch of ugly crap to module declaration