I needed a way to get the operations that were added for a specific call to addOperations, so I added a return value.