TML extensions to basic types.