removed setModule method (module pointer already passed in constructor)