Object oriented version of do_spdx