Removed active record references