Fix reflection warnings
Merge pull request #150 from emlyn/patch-1

Fix some reflection warnings