Added ECCastTo definition