Added type cast function doc