Add xbrl calculation.