Updating applicability api to accept unit_criteria instead of list of unit keys, updating docstrings and unit tests