fix reflection warnings, and remove unused 'diff' function
Merge pull request #15 from ztellman/master

fix reflection warnings, and remove unused 'diff' function