API for adding and removing cells