W.I.P adding type inspect on function calls, and a  "cast to" fix