Added comments to the datatype function.
Added comments to the datatype function.