Fixed an issue where boolean primitives were not handled appropriately. Also better error messages and added support back for auto incrementing primary keys