Adds Metric#getOwner and #getField APIs.