Cleanup for profile assignments.