Adding more getters, setters and xid command helpers.