API for environments, including PATCH for combinatorics