Added C++ method execution management.