Core/Scripting: Replace casted with cast as casted is not a word.