Removed usage of PrimitiveTypeMode and wrapped squeryl's types