[misc] Implemented the new methods added by phenotips/phenotips#675