Added losses to ACC example.