Add operation details API, some refactoring