Added Boolean Field Type Support

Added support for fields of logical type. Also fixed some typos in
comments.