Encapsulated Python API functions into C++ Classes.