def modify_handlers(handlers):
  """Modifies the set of web request handlers.

  Args:
    handlers: List of (path_regex, webapp.RequestHandler) instances that are
      configured for this application.

  Returns:
    Modified list of handlers, with some possibly removed and others added.
  """
  return handlers