Add .DS_Store to .gitignore
dcast made generic. Updated docs and README