Remove deprecated module references.