Remove the need to cast when getting components