Remove module references.