Remove casting as its unnecessary in the example.