Clean up ant code