Clean up old references.