Cast boolean instead of double not
Remove commented code
Fix typo in prepareField method docblock
Add missing docblocks, clean up existing docblocks
Add space after 'if' keyword
Remove unused Exception class
Update link in class docblocks
Merge pull request #4 from bcrowe/fix-gen

General fixes.