Make AFA and ANT code read-only