Deprecated code.