Add exports. Tidy setAntAt and clearAntAt functions