CAS-1267: Remove the need to CAST the returned ticket object from ticket registry