Finished goals documentation text
Update cast function documentation and move some casts to cast::