Modify office model for API