Removed old C++ stuff.
Cleaned up exceptions declarations around the service methods, removed the unnecessary TException declaration.
import
Wrap the command in a try/finally incase an exception leaks out.