Gh366 datatype builders

fixes #366