Don't use deprecated code. Submitted by: Kevin Jackson <kevin dot jackson at it dot fts dash vn dot com>