Removed unnecessary module calls inside classes.