Avoid bad reference to 'this' (happened to work before when the module had a .im attribute).