Restore some ariesve specific code