Use 'as' instead of cast
Remove meta files and add to .gitignore