Remove module references from model classes.