Added documentation
Added choices and default value for datatype.