Ported ConcurrentOperationRegistry from GT and added operation substitution