Add query methods for Xmrs.