Implement partly orders API