Find another ref leak and change how we manage module references.