Finish patch model API support