Add success_codes as an array attribute