Anti-infective agents and uses thereof